package com.xiaoshuidi.cloud.module.iot.dal.model.callback;

import com.alibaba.fastjson.JSONArray;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author Sky
 * create 2019/08/29
 * email sky.li@ixiaoshuidi.com
 **/
@Data
public class AntDeviceCallbackReqVO {
    /**
     * string，业务追踪标识，业务方定义，建议UUID
     */
    @Schema(description = "业务追踪标识")
    private String traceId;
    /**
     * string，租户访问令牌,租户分配
     */
    @Schema(description = "租户访问令牌")
    private String accessToken;
    /**
     * 内容
     */
    @Schema(description = "内容")
    private JSONArray payload;
    /**
     * number,请求时间戳毫秒值
     */
    @Schema(description = "请求时间戳毫秒值")
    private Long timestamp;

    /**
     * string签名结果，参照附录签名验签逻辑
     */
    @Schema(description = "string签名结果")
    private String signature;
}
